onstant.html" TARGET="_top">NO FRAMES     SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
Submit a bug or feature

CredibleXML is a trademark or registered trademark of Crediware L.L.C. in the US and other countries.
Copyright 2001-2002 Crediware L.L.C. All Rights Reserved.
DataElement (CredibleXML 1.5 Base Framework Specification)
CredibleXML
v1.5

com.crediware.crediblexml.coredef
Class DataElement

java.lang.Object
  |
  +--com.crediware.crediblexml.coredef.DataElement
All Implemented Interfaces:
IXMLPersistable
Direct Known Subclasses:
DataField, DataSegment

public abstract class DataElement
extends java.lang.Object
implements IXMLPersistable

Copyright (c) 2001-2002 Crediware LLC. Purpose: Base class for all data element definitions


Constructor Summary
DataElement(DataElement container, MetaData metaData, IExternalDataProvider dataProvider)
          constructor creates data element with specified parameters
 
Method Summary
 IExternalDataProvider getDataProvider()
          get external provider
protected  org.xml.sax.Attributes getEmptyAttribute()
          Get a singletone for empty attribute
 MetaData getMetaData()
          get metadata for the element
 java.lang.String getName()
          get name of the element
 DataElement getParent()
          get the reference to the container of the element
protected abstract  boolean isVisibleInXML()
          Is visible in XML must overriden by concrete implementation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.crediware.crediblexml.coredef.IXMLPersistable
isElement, saveFragmentAsAttribute, saveFragmentAsElement
 

Constructor Detail

DataElement

public DataElement(DataElement container,
                   MetaData metaData,
                   IExternalDataProvider dataProvider)
constructor creates data element with specified parameters

Method Detail

getMetaData

public MetaData getMetaData()
get metadata for the element

Returns:
MetaData

getName

public java.lang.String getName()
get name of the element

Returns:
String

getParent

public DataElement getParent()
get the reference to the container of the element

Returns:
DataElement

getDataProvider

public IExternalDataProvider getDataProvider()
get external provider

Returns:
IExternalDataProvider

getEmptyAttribute

protected org.xml.sax.Attributes getEmptyAttribute()
Get a singletone for empty attribute

Returns:
Attributes

isVisibleInXML

protected abstract boolean isVisibleInXML()
Is visible in XML must overriden by concrete implementation

Returns:
String

CredibleXML
v1.5